package com.mc.algorithm;

public class BigNumber {
	public static void print(int n){
		int[] a = new int[n];
		for(int i=0;i<n;i++)
			a[i]=0;
		while(true){
			int flag=0;
			int i=0;//最低位
			while(true){
				if(a[i]<9){
					a[i]++;
					break;
				}
				else{					
					a[i++]=0;
					flag++;
				}
			}
			if(flag==n)
				break;
			//打印
			for(int j=n-1;j>=0;j--)
				System.out.print(a[j]);
			System.out.println();
		}
	}
	public static void right(){
		int a = -4;
		a=a>>>2;
		System.out.println(a);
	}
	public static void main(String[] args) {
//		BigNumber.print(10);
//		char s = '0'+3;
//		System.out.println(s);
		BigNumber.right();
		Integer a = 10;
		Long b = (Long)a;
	}
}
